home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / GoldED Tools / Warp Parser / WarpLaTeX / Install < prev    next >
Encoding:
Text File  |  1996-09-27  |  2.0 KB  |  86 lines

  1. ; $VER: 1.0
  2.  
  3. (delopts "oknodelete" "force" "askuser")
  4. (complete 0)
  5.  
  6. (if (exists "GOLDED:" (NOREQ))
  7.  
  8.     (
  9.         (set vernum (getversion "golded:golded"))
  10.  
  11.         (set ver (/ vernum 65536))
  12.         (set rev (- vernum (* ver 65536)))
  13.  
  14.         (set version (+ (* 10 ver) rev))
  15.  
  16.         (if (< version 30)
  17.  
  18.             (
  19.                 (message "\nSorry, GoldED 3.0.1 or better required")
  20.                 (exit (quiet))
  21.             )
  22.         )
  23.  
  24.         (message (cat "\n"
  25.  
  26.             "GoldED WarpLaTeX Parser 0.3                 \n"
  27.             "                                            \n"
  28.             "                                            \n"
  29.             "©1995 Markus Aretz                          \n"
  30.             "      ma@ph-cip.uni-koeln.de                \n"
  31.             "                                            \n"
  32.             "                                            \n"
  33.             "GoldED Release 3.0.1+ required.             \n"
  34.         ))
  35.  
  36.         (copyfiles
  37.  
  38.             (source "parser")
  39.             (dest "GOLDED:syntax")
  40.             (all)
  41.         )
  42.  
  43.         (copyfiles
  44.  
  45.             (source "presets")
  46.             (dest "GoldED:presets")
  47.             (all)
  48.         )
  49.  
  50.         (if (exists "GoldED:syntax/developer/source")
  51.  
  52.             (if (not (exists "GOLDED:syntax/developer/source/example_warpLaTeX"))
  53.  
  54.                 (makedir "GOLDED:syntax/developer/source/example_warpLaTeX")
  55.             )
  56.         )
  57.  
  58.         (copyfiles
  59.  
  60.             (source "source")
  61.             (dest   "GOLDED:syntax/developer/source/example_warpLaTeX")
  62.             (all)
  63.         )
  64.  
  65.  
  66.         (run "bin/moveicons DIR=golded:tools GRID DX=0 DY=27 COLUMNS=1")
  67.  
  68.         (complete 100)
  69.  
  70.         (message "\nInstallation complete. Have fun :-)")
  71.  
  72.         (run (cat "gx FORCE MACRO=\"" (tackon (pathonly @icon) "auto.ged\"")))
  73.     )
  74.  
  75.     (message (cat "\n"
  76.  
  77.         "Please install GoldED before attempting to\n"
  78.         "install this client.                      \n"
  79.     ))
  80. )
  81.  
  82. (exit (quiet))
  83.  
  84. (welcome)
  85.  
  86.